package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.Receipt;
import java.util.List;	

/**
 * 收款单 数据层
 * 
 * @author ruoyi
 * @date 2018-12-24
 */
public interface ReceiptMapper 
{
	/**
     * 查询收款单信息
     * 
     * @param receiptId 收款单ID
     * @return 收款单信息
     */
	public Receipt selectReceiptById(Integer receiptId);
	
	/**
     * 查询收款单列表
     * 
     * @param receipt 收款单信息
     * @return 收款单集合
     */
	public List<Receipt> selectReceiptList(Receipt receipt);
	
	/**
     * 新增收款单
     * 
     * @param receipt 收款单信息
     * @return 结果
     */
	public int insertReceipt(Receipt receipt);
	
	/**
     * 修改收款单
     * 
     * @param receipt 收款单信息
     * @return 结果
     */
	public int updateReceipt(Receipt receipt);
	
	/**
     * 删除收款单
     * 
     * @param receiptId 收款单ID
     * @return 结果
     */
	public int deleteReceiptById(Integer receiptId);
	
	/**
     * 批量删除收款单
     * 
     * @param receiptIds 需要删除的数据ID
     * @return 结果
     */
	public int deleteReceiptByIds(String[] receiptIds);
	
}